export const state = ()=>({
    alertCounter : 0,
    isLogin:false
})

export const mutations =  {
    alertIncrement(state){
        state.alertCounter ++;
    },
    login(state){
        state.isLogin = true;
    },
    logout(state){
        state.isLogin = false;
    }
}